//----------------------------------------------------------------------------------------
// Name:        ringer.h
// Purpose:     Describes Ringer class
// Author:      Michael Van Donselaar
// Modified by:
// Created:     2004
// Copyright:   (c) Michael Van Donselaar ( michael@vandonselaar.org )
// Licence:     GPL
//----------------------------------------------------------------------------------------

//----------------------------------------------------------------------------------------
// Begin single inclusion of this .h file condition
//----------------------------------------------------------------------------------------

#ifndef _RINGER_H_
#define _RINGER_H_

//----------------------------------------------------------------------------------------
// GCC interface
//----------------------------------------------------------------------------------------

#if defined(__GNUG__) && ! defined(__APPLE__)
    #pragma interface "calls.h"
#endif

//----------------------------------------------------------------------------------------
// Headers
//----------------------------------------------------------------------------------------

#include "app.h"

//----------------------------------------------------------------------------------------
// Class definition: Ringer
//----------------------------------------------------------------------------------------

class Ringer
{

public:

    void              Init(int F1, int F2, int Dur, int Len, int Repeat);
    void              LoadTone(wxString Filename, int Repeat);
    void              Start(int ring);
    void              Stop();
    
    struct iaxc_sound tone;

};

//----------------------------------------------------------------------------------------
// End single inclusion of this .h file condition
//----------------------------------------------------------------------------------------

#endif  // _RINGER_H_
